package org.example.adapter;

import org.example.adaptee.Caesar;
import org.example.target.DataOperator;

public class CipherAdapter extends DataOperator {

    private Caesar cipher;
    public CipherAdapter(){
        cipher = new Caesar();
    }
    @Override
    public String doEncrypt(int key, String ps) {
        return cipher.doEncrypt(key, ps);
    }
}
